package com.raising.sc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * 断路器聚合监控
 * @author GaoYuan
 * @date 2018/4/8 上午9:15
 *
 * @EnableTurbine 导入了 TurbineHttpConfiguration.class
 * TurbineHttpConfiguration 中 包含了
 *                              @Configuration
 *                              @EnableConfigurationProperties
 *                              @EnableDiscoveryClient
 */
@SpringBootApplication
@EnableTurbine
@EnableHystrixDashboard
public class HystrixTurbineApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(HystrixTurbineApplication.class,args);
    }
}
